#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	//int a = 0;
	//for (a = 3; a <= 100; a++)
	//{
	//	if(a%3==0)
	//		printf("%d", a);
	//}
	
	//int a = 9;
	//int count = 0;
	//for (a = 9; a <= 100; a = a + 9)
	//{
	//	count++;
	//}
	//printf("%d", count);
	int a = 0;
	int b = 0;
	int c = 0;
	while (scanf("%d%d%d", a, b, c))
	{
		if (a > b && b > c)
			printf("%d%d%d\n", a b c);
		else if (a > c && c > b)
			printf("%d%d%d\n", a c b);
		else if (b > a && a > c)
			printf("%d%d%d\n", b a c);
		else if (b > c && c > a)
			printf("%d%d%d\n", b c a);
		else if (c > b && b > a)
			printf("%d%d%d\n", c b a);
		else if (c > a && a > b)
			printf("%d%d%d\n", c a b);
		else
			printf("%d%d%d\n", a b c);
	}
	
	return 0;
}